<div class="contentBody">
    <div class="left">
    <br/>
<h2><u>Insert Course</u></h2>
<br/>
<!--career insert fields-->
<div id="courseInsertTable" style="width:450px;">
        <fieldset>
            <legend style="color:#FF8040; font-weight: bold;">Insert New Course</legend>
                <form Action="<?php echo site_url('maintain_course/insert') ?>" Method="Post" onsubmit="return check()"> <?php //pass to who??>
                    <input type="hidden" id="couurl1" value="<?php echo site_url('maintain_discipline/insertdetail');?>">
                    <table width="580px">
                        <tr>
                            <td><label>Course Name</label></td>
                            
                            <td><input id="courseName" name="courseName" type="text" size="38px"></td>
                        </tr>
                        <tr>
                            <td><label>Course description</label></td>
                            
                            <td><textarea id="courseDesc" name="courseDesc" rows="5" cols="30"></textarea></td>
                        </tr>
                        <tr>
                        <td><label>Discipline</label></td>
                        
                        <td><select id="courseDisc" name="courseDisc">
                       <?php foreach($discList as $row){
?>

                    <option value=<?php echo $row->discipline_id; ?>><?php echo $row->discipline_name; ?></option>
<?php }
                        ?>
                     </select></td>
                        </tr>
                        <tr>
                            <td></td>
                            
                            <td align="left"><input name="courseSubmit" id="courseSubmit" value="Submit" type="submit"></td>
                        </tr>
                    </table>
                </form>
        </fieldset>
      <p id="back" onmouseout="this.style.color='#1569C7'" onmouseover="this.style.color='#FF8040'" style="color:#1569C7"><a href="<?php echo site_url('maintain_course/home')?>">Back</a></p>
</div>
</div>
</div>